﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Rec_DetailBookCollection : List<Rec_DetailBook>
    { 
         public int IndexOf(Rec_DetailBook item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Rec_DetailBook item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Rec_DetailBook this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Rec_DetailBook item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Rec_DetailBook item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Rec_DetailBook[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Rec_DetailBook item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Rec_DetailBook> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    }
    public class Rec_DetailBook
    {
        private int _IdBookRoom;

        public int IdBookRoom
        {
            get { return _IdBookRoom; }
            set { _IdBookRoom = value; }
        }
        private int _IdRoom;

        public int IdRoom
        {
            get { return _IdRoom; }
            set { _IdRoom = value; }
        }
    }
}
